﻿using System;
using System.ComponentModel.DataAnnotations;

namespace Rbac.Domain.Admins
{
    public class Admin: Entity
    {
        /// <summary>        
        /// EF-数据注解
        /// C#-特性
        /// </summary>
        [Key]
        public int AdminId { get; set; }
        /// <summary>        
        /// 
        /// </summary>
        public string FullName { get; set; }
        /// <summary>        
        /// 
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string HeaderImage { get; set; }

        /// <summary>        
        ///
        /// </summary>
        public string LastLoginIP { get; set; }
        /// <summary>        
        ///
        /// </summary>
        public DateTime? LastLoginTime { get; set; }
        /// <summary>        
        /// 
        /// </summary>
        public string Password { get; set; }
    }
}
